@echo off
echo "Start push 0"
rd /s /q tmp\
git status .\tmp\*
git add .\tmp\*
git commit -m "From Auto Push-0" .\tmp\*
git push
mkdir tmp

echo "Start building"
cd .\client\
call npm run build
move .\dist ..\tmp\
echo "Building complete"
cd ..

echo "Start push 1"
git status .\tmp\*
git add .\tmp\*
git commit -m "From Auto Push-1" .\tmp\*
git push
echo "OVER!"
pause
